package com.zf.zffencheng.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zf.zffencheng.model.dto.PalaceRegionFilter;
import com.zf.zffencheng.model.pojo.PalaceRegion;

import java.util.List;

/**
 * ClassName: TenantPalaceRegionService <br/>
 * Description:  <br/>
 * date: 2021/5/28 16:41<br/>
 *
 * @author william <br/>
 */
public interface TenantPalaceRegionService extends IService<PalaceRegion> {
    /**
     * 大殿下的区域
     * @param id
     * @return
     */
    List<PalaceRegion> selectByPalaceIdDesc(Integer id);

    /**
     * 查询
     * @param filter
     * @return
     */
    Page<PalaceRegion> queryFilter(PalaceRegionFilter filter);
}
